package Web;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class LOG4j2 {
    public static void main(String[] args) {
        Logger logger= LogManager.getLogger(LOG4j2.class);
        logger.fatal("fatal信息");
        logger.error("error信息");
        logger.info("info信息");
        logger.warn("warn信息");
        logger.debug("debug信息");

    }
}
